package com.itlong.cloud.enumerate;

import lombok.Getter;

/**
 * <desc>
 *      业务操作日志操作类型枚举类
 * </desc>
 *
 * @createDate2020/9/18
 **/
public enum  LogFunctionTypeEnum {

    BUSINESS_LOG(1,"商务"),
    FINANCE_LOG(2,"财务"),
    PROJECT_LOG(3, "项目"),
    ;

    @Getter
    private Integer type;  //正背门类型
    @Getter
    private String description;  //正背门类型描述（名称）


    /**
     * <desc>
     * 构造函数.
     * </desc>
     *
     * @param type        正背门类型
     * @param description 正背门类型描述（名称）
     * @author LewisLouis
     * @createDate 2017-10-12
     */
    LogFunctionTypeEnum( Integer type,String description) {
        this.description = description;
        this.type = type;
    }


    public Integer getType(){
        return this.type;
    }

    public String getDescription(){
        return this.description;
    }
}
